<style>
    #edit-title{
        width:100%;
        text-align:center;
        background-color: #5e87b0;
        height:30px;
        color:#ffffff;
        line-height:30px;
    }
    #edit-content{
        background-color:#ffffff;
        margin-left:0;
        margin-right:0;
    }
    .ngdialog.ngdialog-theme-default .ngdialog-content{
        width:40%!important;
    }
    #time-picker{
        margin-top:20px;
    }
    .btn-active{
        background-color:#0be386;
    }
    .edit-element{
        border-bottom: solid 1px #CCCCCC;
        height:40px;
        line-height:40px;
    }
    #edit-select-content{
        height:460px;
        overflow-x:hidden;
        overflow-y:auto;
    }
</style>
<div id="editEO" class="ngdialog ngdialog-theme-default ng-scope" role="alertdialog">
    <div class="ngdialog-overlay">
    </div>
    <div class="ngdialog-content" role="document" style="padding:0 0 0 0">
        <div id="edit-title">
            <div class="col-md-10" style="text-align: center">
                <h4>{{showName}}设置所有者</h4>
            </div>
            <div class="col-md-2" style="text-align: right">
                <p ng-click="cancel()" style="">关闭</p>
            </div>
        </div>
        <div style="width:100%;padding:1em" class="row" id="edit-content">
            <div class="col-md-12" id="edit-select-content">
                <div class="box border">
                    <div class="box-title">
                        <h4>添加拥有者</h4>
                    </div>
                    <div class="box-body">
                        <input class="form-control" ng-model="searchUserContactName" placeholder="成员搜索"/>
                        <table class="datatable table table-hover dataTable">
                            <tbody>
                            <tr ng-repeat="item in friendList|filter:searchUserContactName" ng-click="addEO(item);item.notEO=false">
                                <td ng-show="item.notEO" style="width:50%">{{item.name}}</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>